﻿<%@ Page Title="" Language="C#" MasterPageFile="/Common/Master.master" %>

<script runat="server">

</script>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentForm" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentHtml" runat="Server">
    <div class="easyui-layout tableEdit" data-options="fit:true,border:false">
        <div data-options="region:'center',border:false">
           <div class="z_wrap">
                <ul class="info">
					<li>
                                        <em class='l_name'>父标识：</em>
                                        <div class='r_con' id='PID'></div></li><li>
                                        <em class='l_name'>级别：</em>
                                        <div class='r_con' id='Grade'></div></li><li>
                                        <em class='l_name'>层次：</em>
                                        <div class='r_con' id='Levels'></div></li><li>
                                        <em class='l_name'>叶子：</em>
                                        <div class='r_con' id='Leaf'></div></li><li>
                                        <em class='l_name'>状态：</em>
                                        <div class='r_con' id='State'></div></li><li>
                                        <em class='l_name'>禁用：</em>
                                        <div class='r_con' id='Disable'></div></li><li>
                                        <em class='l_name'>地址：</em>
                                        <div class='r_con' id='Url'></div></li><li>
                                        <em class='l_name'>目标：</em>
                                        <div class='r_con' id='Target'></div></li><li>
                                        <em class='l_name'>图标：</em>
                                        <div class='r_con' id='Icos'></div></li><li>
                                        <em class='l_name'>类型名称：</em>
                                        <div class='r_con' id='Name'></div></li><li>
                                        <em class='l_name'>内容：</em>
                                        <div class='r_con' id='Contents'></div></li><li>
                                        <em class='l_name'>创建时间：</em>
                                        <div class='r_con' id='AddTime'></div></li>
				</ul>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        $(function () {
            if ($.getUrlParamer("guid") != "") {
                DataBind();
            }
        });

        function DataBind() {
            $.InvokeAjax({
                url: "Api/V1/System_Api/GetApi",
                data: { ID: $.getUrlParamer("guid") },
                callBack: function (data) {
                    var obj = $.StrToJson(data).Results;

                    $.SetValue("ID", obj.ID);
$.SetValue("PID", obj.PID);
$.SetValue("Grade", obj.Grade);
$.SetValue("Levels", obj.Levels);
$.SetValue("Leaf", obj.Leaf);
$.SetValue("State", obj.State);
$.SetValue("Disable", obj.Disable);
$.SetValue("Url", obj.Url);
$.SetValue("Target", obj.Target);
$.SetValue("Icos", obj.Icos);
$.SetValue("Name", obj.Name);
$.SetValue("Contents", obj.Contents);
$.SetValue("AddTime", $.DateFormat(obj.AddTime, 'yyyy-MM-dd HH:mm:ss'));
$.SetValue("AddUserID", obj.AddUserID);

                }
            });
        } 
    </script>
</asp:Content>